﻿using HuaweiCloud.Dotnet.Samples.ESports.Main.Dtos;
using HuaweiCloud.Dotnet.Samples.ESports.Main.Entities;

namespace HuaweiCloud.Dotnet.Samples.ESports.Main.Service
{
    public interface IUserService
    {
        /// <summary>
        /// 获取指定ID集合的用户信息
        /// </summary>
        /// <param name="ids">指定id集合</param>
        /// <param name="token">取消任务Token</param>
        /// <returns></returns>
        Task<UserLoadedDto> GetUsersByIdsAsync(IEnumerable<Guid> ids, CancellationToken token = default);
    }
}
